package org.hermes.core.message{
	
	import mx.controls.Alert;
	
	
	public class MessageUtil {
		
    
	[Embed(source="assets/errorMsgIcon48.png")]
    private static const error:Class;
    
	[Embed(source="assets/warningMsgIcon48.png")]
    private static const warning:Class;
    
	[Embed(source="assets/questionMsgIcon48.png")]
    private static const question:Class;
    
	[Embed(source="assets/infoMsgIcon48.png")]
    private static const info:Class;
    
	
	
	public static function showWarning(title:String, msg:String):void{
		Alert.show(msg, title, 4, null, null, warning);
	}
	
	public static function showError(title:String, msg:String):void{
		Alert.show(msg, title, 4, null, null, error);
	}
	
	public static function showInfo(title:String, msg:String):void{
		Alert.show(msg, title, 4, null, null, info);
	}
	
	
	
	
	}
}
